/* 伪元素使用阿里妈妈字体图标(注意url路径问题) */
@font-face {
    font-family: 'iconfont';
    src: url('../fonts/iconfont.ttf?t=1631083677577') format('truetype');
  }
  .iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

/* 设置公共版心 */
.w {
width: 1200px;
margin:  0 auto;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
/* 快捷导航栏 */
.shortcut {
    height: 31px;
    background-color: #f1f1f1;
    /* 使子元素文字垂直居中对齐 */
    line-height: 31px;
}
.shortcut ul li {
    float: left;
}
/* 竖线分隔 */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    color: #666666;
    margin: 0px 15px;
}
.arrow-icon::after {
    content: "\e650";
    font-family: "iconfont";
    margin-left: 5px;
}

/* 头部模块 */
.header {
    position: relative;
    height: 105px;
 }
.logo {
    position: absolute;
    top: 25px;
    width:171px;
   height: 61px;
 }
.logo h1 a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png);
   font-size: 0;
}
.search {
    position: absolute;
    width: 538px;
    height: 36px;
   left: 336px;
   top: 25px;
   border: 2px solid #c81623;
}
/* float: left; 不加浮动 有空隙 */
.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px ;
}
.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #c81623;
    font-size: 16px;
    color:white;
}
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}
.hotwords ul li{
float: left;
padding:0 10px;
}
.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}
.shopcar::before {
    font-family: "iconfont";
    content: "\344b";
    color: #c81623;
    margin-right: 5px;
}
.shopcar::after {
    font-family: "iconfont";
    content: "\e6c8";
    margin-left: 5px;
}
.count {
    position: absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    color: white;
    background-color: #c81623 ;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}

/* 导航栏模块 */
.nav {
    height: 47px;
    border-bottom:2px solid #c81623;
}
.nav .dropdown {
    width: 210px;
    height: 45px;
    background-color: #c81623;
}
.nav .dropdown .dt{
    width: 210px;
    height: 45px;
    background-color: #c81623;
    line-height: 45px;
    color: white;
    font-size: 16px;
    text-align: center;
}

.nav .dropdown .dd{
    /* display: none; */
     width: 210px;
    height: 465px;
    background-color: #c81623;
}
.nav .dropdown ul li {
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}
.nav .dropdown ul li::after {
    float: right;
    font-family: "iconfont";
    content: "\e6c8";
  color: white;

  margin-right: 10px;
}


.nav .dropdown ul li a {
    color: white;
    font-size: 14px;
 }

.nav .dropdown ul li:hover   {
    background-color: white;
    
}
.nav .dropdown ul li:hover a {
    color: #c81623;
}
 /* 设置li:hover 后li伪元素改变样式 */
.nav .dropdown ul li:hover::after{
    color: #c81623;
}
.nav .navitems li {
    float: left;

}
.nav .navitems li a {
    height: 45px;
    line-height: 45px;
    display: block;
    width: 100%;
    padding: 0 25px;
     font-size: 16px;
}
/*底部模块*/
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}
.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}
.mod_service ul li {
    float: left;
    display: block;
    width: 300px;
    height: 50px;
     padding-left: 35px;
}

.mod_service_icon {
    float: left;
width: 50px;
height: 50px;
 margin-right: 5px;
/* 设置精灵图 */
background: url(../images/icons.png) no-repeat -252px -2px;
}
.mod_service .mod_service_title {
    padding-top: 5px;
  }
 .mod_service .mod_service_title h4 {
     font-size: 14px;
     color: #333333;
 }
 .mod_help {
     height: 185px;
      border-bottom: 1px solid #ccc;
     padding-top: 20px;

 }
 .mod_help dl {
     float: left;
     width: 200px;
     height: 100%;
     padding-left: 50px;
 }
 .mod_help dl dt {
     font-size: 16px;
     color: #333333;
     margin-bottom: 5px;
 }
 .mod_help dl dd {
    font-size: 14px;
 }
 /* 多个dl可以 使用:last-child 结构伪类选择器 */
.mod_help dl:last-child {
    text-align: center;
    padding-left: 35px;
}
.mod_copyright {
    padding-top: 20px;
    text-align: center;
    line-height: 25px;
}
.mod_copyright .links{
    margin-bottom: 10px;
} 